﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="insertHocVien.ascx.cs" Inherits="admin_insertHocVien" %>
<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>

<table cellspacing="0" cellpadding="1" width="100%" border="0">
	<tr>
		<td colspan="9" >
		    <table cellspacing="0" cellpadding="0" width="100%" border="0">
		        <tr>
		            <td align="left" class="HeadingTree">Thông tin ứng viên</td>
            		<td align="right" style="width:28px;" class="HeadingTree"><asp:HyperLink ID="hplCloseWindows" runat="server" ImageUrl="~/images/BGLanguage/close.gif" ></asp:HyperLink> </td>
		        </tr>
		    </table>
		</td>
	</tr>
	<tr>
		<td colspan="9">
		    <asp:validationsummary id="vdsHocVien" CssClass="cssManField" runat="server" Font-Bold="True" BorderWidth="0" />
		    <asp:label id="lblMess" CssClass="cssManField" runat="server" />
		</td>
	</tr>
	<tr>
		<td align="right" style="width:16%;">
			<asp:label id="lblMaHocVien" CssClass="cssLabel" runat="server"  Text="<U>M</U>ã ứng viên(*):" />
		</td>
		<td style="width:20%;" align="left">
		    <asp:textbox id="txtMaHocVien" accessKey="n"  runat="server" MaxLength="20" Width="98%" Enabled="False" />
		</td>
		<td style="width:3%;">
		    <asp:customvalidator id="ctvMaHocVien" runat="server" ControlToValidate="txtMaHocVien" ErrorMessage="Bạn phải nhập mã ứng viên" Display="Static" Text="*" />
		</td>
		<td align="right" style="width:8%;">
			<asp:label id="lblNguon" CssClass="cssLabel" runat="server" Text="<U>N</U>guồn:" />
		</td>
		<td style="width:20%;">
		    <asp:DropDownList id="ddlNguon" runat="server" Width="98%" AutoPostBack="true" 
                onselectedindexchanged="ddlNguon_SelectedIndexChanged"/>
		</td>
		<td style="width:3%;"></td>
		<td align="right" style="width:14%;">
			<asp:label id="lblNguoiTimNguon" CssClass="cssLabel" runat="server" Text="Ngư<U>ờ</U>i tìm nguồn:" />
		</td>
		<td style="width:30%;">
		    <asp:DropDownList id="ddlNguoiTimNguon" runat="server" Width="90%"/>
		</td>
		<td style="width:3%;"></td>
	</tr>
	<tr>
		<td align="right">
			<asp:label id="lblHoTen" CssClass="cssLabel" runat="server" Text="<U>H</U>ọ và tên(*):" />
		</td>
		<td>
		    <asp:textbox id="txtHoTen" accessKey="n"   runat="server" MaxLength="128" Width="98%" />
		</td>
		<td>
		    <asp:customvalidator id="ctvHoTen" runat="server" ControlToValidate="txtHoTen" ErrorMessage="Bạn phải nhập Họ và tên" Display="Static" Text="*" />
		</td>
		<td align="right">
			<asp:label id="lblGioiTinh" CssClass="cssLabel" runat="server" Text="<U>G</U>iới tính:" />
		</td>
		<td>
		    <asp:DropDownList id="ddlGioiTinh" runat="server" Width="98%">
                <asp:ListItem Text="Nam" Value="true"></asp:ListItem>
                <asp:ListItem Text="Nữ" Value="false"></asp:ListItem>
            </asp:DropDownList>
		</td>
		<td></td>
		<td align="right" style="width:14%;">
			<asp:label id="lblGhiChuNguon" CssClass="cssLabel" runat="server" Text="G<U>h</U>i chú nguồn:" />
		</td>
		<td style="width:20%;">
		    <asp:textbox id="txtGhiChuNguon" accessKey="n"   runat="server" MaxLength="256" Width="98%" />
		</td>
		<td style="width:3%;"></td>
	</tr>
	<tr>
		<td align="right">
			<asp:label id="lblDienThoai" CssClass="cssLabel"  runat="server" Text="<U>Đ</U>iện thoại 1(*):" />
		</td>
		<td>
		    <asp:textbox id="txtDienThoai" accessKey="n"  class="positive-integer"  runat="server" MaxLength="64" Width="98%" />
		</td>
		<td>
		     <asp:customvalidator id="ctvDienThoai" runat="server" ControlToValidate="txtDienThoai" ErrorMessage="Bạn phải nhập Điện thoại" Display="Static" Text="*" />
		</td>
        
		
		<td align="right">
			<asp:label id="lblEmail" CssClass="cssLabel" runat="server" Text="<U>E</U>mail 1:" />
		</td>
		<td align="left" >
		    <asp:textbox id="txtEmail" accessKey="n"   runat="server" MaxLength="64" 
                Width="97%"/>
		</td>
        
		<td></td>
		<td align="right">
			<asp:label id="lblNgaySinh" runat="server" CssClass="cssLabel" Text="Ng<U>à</U>y sinh:" />
			
		</td>
		<td style="width:30%";>
		    <ew:CalendarPopup ID="txtNgaySinh" runat="server" CalendarLocation="Bottom" 
                Culture="Vietnamese (Vietnam)" Text="Chọn" DisableTextboxEntry="false" 
                Width="70" AllowArbitraryText="False" ControlDisplay="TextBoxImage" 
                ImageUrl="~/js/cal.gif" CellPadding="0px" Nullable="True"
                VisibleDate="">
                <SelectedDateStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
                <WeekendStyle BackColor="LightGray" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <GoToTodayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <DayHeaderStyle BackColor="Orange" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <MonthHeaderStyle BackColor="Yellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
                <WeekdayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <HolidayStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <OffMonthStyle BackColor="AntiqueWhite" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Gray" />
                <ClearDateStyle BackColor="White" Font-Names="Verdana,Helvetica,Tahoma,Arial" Font-Size="XX-Small"
                    ForeColor="Black" />
                <TodayDayStyle BackColor="LightGoldenrodYellow" Font-Names="Verdana,Helvetica,Tahoma,Arial"
                    Font-Size="XX-Small" ForeColor="Black" />
         </ew:CalendarPopup>	
		    </td>
            
		<td></td>
	</tr>
    <tr>
        <td align="right">
			<asp:label id="lblDienThoai2" CssClass="cssLabel"  runat="server" Text="<U>Đ</U>iện thoại 2:" />
		</td>
        <td>
		    <asp:textbox id="txtDienThoai2" accessKey="n"  class="positive-integer"  runat="server" MaxLength="64" Width="98%" />
		</td>
        <td >
			
		</td>
        <td align="right">
			<asp:label id="lblEmail2" CssClass="cssLabel" runat="server" Text="<U>E</U>mail 2:" />
		</td>

		<td align="left" >
		    <asp:textbox id="txtEmail2" accessKey="n"   runat="server" MaxLength="64" Width="97%" />
		</td>
    </tr>
    <tr>
        <td align="right" style="width:8%;">
			<asp:label id="lblTruong" CssClass="cssLabel" runat="server" Text="Trường Chăm Sóc:" />
		</td>
		<td style="width:20%;">
		    <asp:DropDownList id="ddlTruong" runat="server" Width="98%" AutoPostBack="true"/>
		</td>
    </tr>
	<tr>
	    <td align="right">
			<asp:label id="lblDiaChiThu" CssClass="cssLabel" runat="server" Text="Đ<U>ị</U>a chỉ nhận thư<BR>(giấy báo,hồ sơ,điểm):" />
		</td>
	    <td colspan="7" align="left">
	        <asp:textbox id="txtDiaChiThu" accessKey="n"   runat="server" MaxLength="256" Width="98%" Rows="1" TextMode="MultiLine" />
        </td>
        
	</tr>
	<tr>
	    <td align="right">
            <asp:label id="lblDiLam" CssClass="cssLabel" runat="server" Text="Đi <U>l</U>àm chưa?Ở đâu? Làm gì:" />
        </td>
        <td colspan="7" align="left" >
            <asp:textbox id="txtDiLam" accessKey="n"   runat="server" MaxLength="1024" Width="98%" Rows="2" TextMode="MultiLine" />
        </td>
        
		<td></td>
	</tr>	
	<tr>		
	    <td></td>
		<td colspan="8" align="left">
			<asp:button id="btnInsert" accessKey="c" CssClass="cssButton" runat="server" Width="98px" Text="Lưu(c)" OnClick="btnInsert_Click" />
			<asp:button id="btnUpdate" accessKey="u" CssClass="cssButton" Visible="false" runat="server" Width="98px" Text="Cập nhật(u)" OnClick="btnUpdate_Click" />&nbsp;
			<asp:button id="btnCancel" accessKey="r" CssClass="cssButton" runat="server" Width="98px" Visible="false" Text="Xóa trắng(r)" OnClick="btnCancel_Click" />&nbsp;
			<asp:button id="btnClose" accessKey="x" CssClass="cssButton" runat="server"  Width="98px" Text="Đóng lại(x)"  />
			<asp:HiddenField ID="hdfHocVienID" runat="server" Value="0" />
			<asp:Label ID="lblScript" runat="server"></asp:Label>			
		</td>
	</tr>
</table>